﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SCRUM.Core.BusinessObjects
{
    /// <summary>
    /// Object representing type of Backlog Item
    /// </summary>
    [Serializable()]
    public class BLIType : BusinessObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="BLIType"/> class.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <param name="name">The name.</param>
        public BLIType(int id, string name)
            :base(id)
        {
            this.Name = this.LocalizeString("BliType", name);
        }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }
    }
}
